const dashboard = {
  state: {
    schoolyear: '',
    semesters: '',
    grade: '',
    subject: '',
    teachingclass: ''
  },

  mutations: {
    SET_SCHOOLYEAR: (state, schoolyear) => {
      state.schoolyear = schoolyear
    },
    SET_SEMESTERS: (state, semesters) => {
      state.semesters = semesters
    },
    SET_GRADE: (state, grade) => {
      state.grade = grade
    },
    SET_SUBJECT: (state, subject) => {
      state.subject = subject
    },
    SET_TEACHINGCLASS: (state, teachingclass) => {
      state.teachingclass = teachingclass
    }

  },

  actions: {
    // 登录
  }
}

export default dashboard
